(eshell-ls-insert-directory): Set font-lock-defaults to nil, to
authorJohn Wiegley <johnw@newartisans.com>
Wed, 11 Apr 2001 21:51:53 +0000 (21:51 +0000)
committerJohn Wiegley <johnw@newartisans.com>
Wed, 11 Apr 2001 21:51:53 +0000 (21:51 +0000)
prevent fontification in dired buffers, if Eshell's ls is being used.

lisp/eshell/em-ls.el

index 97a342b73acb846091dbd8741877ea3c5e6f88bc..efafbc0d502280e24b35c3bd663b52a98353ac14 100644 (file)
@@ -255,6 +255,7 @@ instead."
        (when (and eshell-ls-use-colors
                   (featurep 'font-lock))
          (font-lock-mode -1)
+         (setq font-lock-defaults nil)
          (if (boundp 'font-lock-buffers)
              (set 'font-lock-buffers
                   (delq (current-buffer)